package com.park.dao;

import com.park.bean.Attracts;
import com.park.bean.Employee;
import com.park.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IEmployeeDao {
    List<Employee> getEmployee(@Param("employee") Employee employee, @Param("page") Page page);
    int getCount(@Param("employee") Employee employee);

    int postEmployee(Employee employee);

    int delEmployee(int id);

    int editEmployee(Employee employee);
}
